//
//  QuestionsModel.h
//  SafeFoodManagerDemo
//
//  Created by ios-1 on 2018/3/7.
//  Copyright © 2018年 bob. All rights reserved.
//

#import <Foundation/Foundation.h>

@class QuestionsData;
@interface QuestionsModel : NSObject
@property (nonatomic, assign) NSInteger code;

@property (nonatomic, strong) QuestionsData *data;

@property (nonatomic, copy) NSString *msg;
@end

@class QuestionsItemData;
@interface QuestionsData : NSObject
@property (nonatomic, assign) NSInteger paperId;
@property (nonatomic, assign) NSInteger isAnswer;
@property (nonatomic, assign) NSInteger isMark;
@property (nonatomic, assign) NSInteger totalScore;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSString * intro;
@property (nonatomic, assign) NSInteger ROW_NUMBER;
@property (nonatomic, strong) NSArray<QuestionsItemData *> *itemData;
@end

@class QuestionsItem;
@interface QuestionsItemData : NSObject
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSArray<QuestionsItem*> *item;
@end

@interface QuestionsItem :NSObject
@property (nonatomic, assign) NSInteger paperItemId;
@property (nonatomic, assign) NSInteger itemId;
@property (nonatomic, assign) NSInteger itemType;
@property (nonatomic, assign) NSInteger score;
@property (nonatomic, assign) NSInteger examScore;
@property (nonatomic, assign) NSInteger isAnswer;
@property (nonatomic, assign) NSInteger isMark;
@property (nonatomic, strong) NSString * itemText;
@property (nonatomic, strong) NSString * ROW_NUMBER;
@property (nonatomic, assign) NSInteger fictitiousAnswer;//虚拟作答
@end
